package com.goldcn.classify.dao;

import com.goldcn.classify.dto.Dto_StyleClazz;
import com.goldcn.classify.model.Style;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StyleMapper {

    int deleteByPrimaryKey(String styleid);

    int insert(Style record);

    int insertSelective(Style record);

    Style selectByPrimaryKey(String styleid);

    int updateByPrimaryKeySelective(Style record);

    int updateByPrimaryKey(Style record);

    List<Style> loadStyleList(Map<String,Object> param);

    List<Dto_StyleClazz> selectClassifyByStyle(@Param("code") String code);

    List<Style> selectListByPrimaryKey(List<String> styleList);
}